/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ylystudio.pms.ejb.facade.remote;

import com.ylystudio.pms.ejb.entity.Document;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author Kenny Lin
 */
@Remote
public interface DocumentFacadeRemote {

    void create(Document document);

    void edit(Document document);

    void remove(Document document);

    Document find(Object id);

    List<Document> findAll();

    List<Document> findRange(int[] range);

    int count();

}
